package com.plian.system.wrapper.fr.bank;

import com.plian.system.dto.fr.bank.BankAccountInfoDTO;
import com.plian.system.entity.fr.bank.BankAccountInfo;
import com.plian.system.mybatis.support.BaseWrapper;
import com.plian.system.vo.fr.bank.BankAccountInfoVO;
import com.plian.system.wrapper.util.CacheWrapperUtil;
import com.plian.system.wrapper.util.WrapperUtil;
import org.mapstruct.Mapper;

import static com.plian.system.wrapper.util.WrapperConstant.SPRING;

/**
 * 银行账户信息表,返回视图层所需的字段
 *
 * @author gangan
 * @since 2019-09-27
 */
@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
public interface BankAccountInfoWrapper extends BaseWrapper<BankAccountInfo, BankAccountInfoDTO ,BankAccountInfoVO> {

    @Override
    BankAccountInfoVO entityToVO(BankAccountInfo entity);
}
